//
//  NotifyListCell.m
//  MerieuxWskProj
//
//  Created by 焱 孙 on 16/1/9.
//  Copyright © 2016年 visionet. All rights reserved.
//

#import "NotifyListCell.h"

@interface NotifyListCell ()

@property (weak, nonatomic) IBOutlet UILabel *lblMessage;
@property (weak, nonatomic) IBOutlet UILabel *lblTime;

@end

@implementation NotifyListCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setEntity:(NotifyVo *)entity
{
    _lblMessage.text = entity.strDescription;
    _lblTime.text = [Common getDateTimeStrStyle2:entity.strCreateDate andFormatStr:@"yyyy-MM-dd HH:mm"];
}

@end
